// print bytes
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main() {
    typedef struct {
        int id;
        char name[16];
        float score;
    } MyStruct; 
    MyStruct myStruct = {1, "Alice", 95.5f};

    unsigned char *bytes = (unsigned char*)&myStruct;
    printf("bytes: ");
    for (int i = 0; i < sizeof(myStruct); ++i) {
        printf("%02x ", bytes[i]);
    }

    return 0;
}